    <h3 style="margin-top:20px;margin-left:50px;">参与评论</h3>
    <form action="./submit" method="post">
       <p> title:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="title" id="zhuti"></p>
        
        <p>content:<textarea rows="10" cols="160"  id="content" name="content"></textarea></p>
        
        <p><input type="submit" value="评论" id="submit"></p>
    </form>

<script type="text/javascript">
$(pageInit);
function pageInit()
{
	$.extend(XHEDITOR.settings,{shortcuts:{'ctrl+enter':submitForm}});
    $('#content').xheditor({
      html5Upload:false,
      upMultiple:"1",
      
      upLinkUrl:"upload.php",
      upLinkExt:"zip,rar,txt",
      
      upImgUrl:"/uploadImg",
      upImgExt:"jpg,jpeg,gif,png",
      
      upFlashUrl:"upload.php",
      upFlashExt:"swf",
      
      upMediaUrl:"upload.php",
      upMediaExt:"wmv,avi,wma,mp3,mid"
    });

}
function insertUpload(arrMsg)
{console.log(arrMsg)
	var i,msg;
	for(i=0;i<arrMsg.length;i++)
	{
		msg=arrMsg[i];
		$("#uploadList").append('<option value="'+msg.id+'">'+msg.localname+'</option>');
	}
}
function submitForm(){$('#frmDemo').submit();}
</script>
